<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../../public/stylesheets/style_main.css" />
<title>Disponibilidad de Docente</title>

<!-- Escrip Pol -->
<script language="javascript">
 var date = '${date}';
 var periodo = '${periodo}';
  if(date!=""){
     alert("Ud ya ha enviado su disponibilidad para el periodo "+periodo+"\n               Fecha que envió: "+date);
     window.location="replay";
 } 
</script>

<script language="javascript">
 var msj = '${msj}';
 if(msj!="ok"){
     alert(msj);
     window.location="out";
 } 
</script>

<script language="javascript">
var mensaje = '${mensaje}';
var preferences = '${preferences}';
var tipo = '${tipo}';
var cont = '${cont}';
if(mensaje!=""){
    
if(tipo==2){
if (confirm('¿Está seguro que desea enviar ésta disponibilidad?\n\n'+mensaje+'\nTotal de Horas: '+cont+'\n\nPreferencia de Cursos:\n\n'+preferences))
{window.location="registrar";}
else
{history.back();}
}else{
   if(tipo==1){
    alert(mensaje);
    history.back();
   } 
}
}
</script>
<!-- Fin Escript-->
</head>

<body>
    <div id="page">
		
        <div id="header">
            
         <table width="300" border="0" align="right">
              <tr>
                  <th>&nbsp;</th>
                  <th>&nbsp;</th>
              </tr>
              <tr>
                  <th>SEMESTRE :</th>
                  <th>${SA.sem_vcNombre}</th>
              </tr>
	      <tr>
		<th>INICIO :</th>
                <th>${SA.getInicio()}</th>
              </tr>
              <tr>
                <th>FIN :</th>
                <th>${SA.getFin()}</th>
              </tr>
              <tr>
    		<th>DOCENTE :</th>
    		<th>${DC.doc_vcNombres}, ${DC.doc_vcApellidoPaterno} ${DC.doc_vcApellidoMaterno}</th>
              </tr>
              <tr>
                <th>CODIGO :</th>
                <th>${DC.doc_vcCodigo}</th>
              </tr>
              <tr>
              <th>FECHA ACTUAL :</th>
                <th>
                	<script>
						var f = new Date();						
							hora = new Date();
							var minutos = hora.getMinutes ();
							if (minutos<=9) minutos = "0" + minutos;
							document.write(f.getDate() + "/" + (f.getMonth() +1) + "/" + f.getFullYear()+" Hora: "+hora.getHours()+":"+minutos);
													
						</script>
                   
                </th>                
              </tr>
	</table>
            
        	<div id="headerTitle">&nbsp;</div>
            <div id="headerSubText">&nbsp;</div>
            
        </div>
        <div id="bar">

            <div class="navLink"><a href="#">Inicio</a></div>
            <div class="navLink"><a href="PerfilDocente">Mi perfil</a></div>
            <div class="navLink"><a href="disponibilidad"> Disponibilidad Horaria</a></div>
            <div class="navLink"><a href="ayuda">Ayuda</a></div>
            <div class="navLink"><a href="@{Secure.logout()}">Salir</a></div>
            
      </div>
      
      <form id="form1" name="form1" method="post" action="disponibilidad">
        <div class="contentTitle"><h1>INSTRUCCIONES DE LLENADO</h1></div>
      <div class="contentText">
          
    
    <ul>
      <li>Los profesores a tiempo completo deben marcar como mínimo una mañana y una tarde en la semana </li>
      <li>Los profesores a tiempo completo y dedicación exclusiva deben marcar más de 30 horas a la semana.</li>
      <li>De preferencia deben ser horas contiguas que no superen las 8 horas diarias. </li>
      <li>Los profesores a tiempo parcial deben marcar más de 15 horas a la semana. </li>
      </ul>
    
    
     <table width="600" border="1" align="center" bordercolor="#0099FF">
    <tr>
      <td     scope="col"> HORA</td>
      <td   scope="col"> LUNES </td>
      <td   scope="col"> MARTES </td>
      <td   scope="col"> MIERCOLES </td>
      <td   scope="col"> JUEVES </td>
      <td   scope="col"> VIERNES </td>
      <td   scope="col"> SABADO </td>
    </tr>
    <tr>
      <td   scope="row">  08-09 am </td>
      <td> <input type="checkbox" name="checkbox1" id="checkbox1" /> </td>
      <td><input type="checkbox" name="checkbox15" id="checkbox15" /> </td>
      <td> <input type="checkbox" name="checkbox29" id="checkbox29" /> </td>
      <td> 
        <input type="checkbox" name="checkbox43" id="checkbox43" /> </td>
      <td> 
        <input type="checkbox" name="checkbox57" id="checkbox57" /> </td>
      <td> 
        <input type="checkbox" name="checkbox71" id="checkbox71" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 09-10 am </td>
      <td> 
        <input name="checkbox2" type="checkbox" id="checkbox2" /> </td>
      <td> 
        <input type="checkbox" name="checkbox16" id="checkbox16" /> </td>
      <td> 
        <input type="checkbox" name="checkbox30" id="checkbox30" /> </td>
      <td> 
        <input type="checkbox" name="checkbox44" id="checkbox44" /> </td>
      <td> 
        <input type="checkbox" name="checkbox58" id="checkbox58" /> </td>
      <td> 
        <input type="checkbox" name="checkbox72" id="checkbox72" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 10-11 am </td>
      <td> 
        <input type="checkbox" name="checkbox3" id="checkbox3" /> </td>
      <td> 
        <input type="checkbox" name="checkbox17" id="checkbox17" /> </td>
      <td> 
        <input type="checkbox" name="checkbox31" id="checkbox31" /> </td>
      <td> 
        <input type="checkbox" name="checkbox45" id="checkbox45" /> </td>
      <td> 
        <input type="checkbox" name="checkbox59" id="checkbox59" /> </td>
      <td> 
        <input type="checkbox" name="checkbox73" id="checkbox73" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 11-12 am </td>
      <td> 
        <input type="checkbox" name="checkbox4" id="checkbox4" /> </td>
      <td> 
        <input type="checkbox" name="checkbox18" id="checkbox18" /> </td>
      <td> 
        <input type="checkbox" name="checkbox32" id="checkbox32" /> </td>
      <td> 
        <input type="checkbox" name="checkbox46" id="checkbox46" /> </td>
      <td> 
        <input type="checkbox" name="checkbox60" id="checkbox60" /> </td>
      <td> 
        <input type="checkbox" name="checkbox74" id="checkbox74" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 12-13 pm </td>
      <td> 
        <input type="checkbox" name="checkbox5" id="checkbox5" /> </td>
      <td> 
        <input type="checkbox" name="checkbox19" id="checkbox19" /> </td>
      <td> 
        <input type="checkbox" name="checkbox33" id="checkbox33" /> </td>
      <td> 
        <input type="checkbox" name="checkbox47" id="checkbox47" /> </td>
      <td> 
        <input type="checkbox" name="checkbox61" id="checkbox61" /> </td>
      <td> 
        <input type="checkbox" name="checkbox75" id="checkbox75" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 13-14 pm </td>
      <td> 
        <input type="checkbox" name="checkbox6" id="checkbox6" /> </td>
      <td> 
        <input type="checkbox" name="checkbox20" id="checkbox20" /> </td>
      <td> 
        <input type="checkbox" name="checkbox34" id="checkbox34" /> </td>
      <td> 
        <input type="checkbox" name="checkbox48" id="checkbox48" /> </td>
      <td> 
        <input type="checkbox" name="checkbox62" id="checkbox62" /> </td>
      <td> 
        <input type="checkbox" name="checkbox76" id="checkbox76" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 14-15 pm </td>
      <td> 
        <input type="checkbox" name="checkbox7" id="checkbox7" /> </td>
      <td> 
        <input type="checkbox" name="checkbox21" id="checkbox21" /> </td>
      <td> 
        <input type="checkbox" name="checkbox35" id="checkbox35" /> </td>
      <td> 
        <input type="checkbox" name="checkbox49" id="checkbox49" /> </td>
      <td> 
        <input type="checkbox" name="checkbox63" id="checkbox63" /> </td>
      <td> 
        <input type="checkbox" name="checkbox77" id="checkbox77" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 15-16 pm </td>
      <td> 
        <input type="checkbox" name="checkbox8" id="checkbox8" /> </td>
      <td> 
        <input type="checkbox" name="checkbox22" id="checkbox22" /> </td>
      <td> 
        <input type="checkbox" name="checkbox36" id="checkbox36" /> </td>
      <td> 
        <input type="checkbox" name="checkbox50" id="checkbox50" /> </td>
      <td> 
        <input type="checkbox" name="checkbox64" id="checkbox64" /> </td>
      <td> 
        <input type="checkbox" name="checkbox78" id="checkbox78" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 16-17 pm </td>
      <td> 
        <input type="checkbox" name="checkbox9" id="checkbox9" /> </td>
      <td> 
        <input type="checkbox" name="checkbox23" id="checkbox23" /> </td>
      <td> 
        <input type="checkbox" name="checkbox37" id="checkbox37" /> </td>
      <td> 
        <input type="checkbox" name="checkbox51" id="checkbox51" /> </td>
      <td> 
        <input type="checkbox" name="checkbox65" id="checkbox65" /> </td>
      <td> 
        <input type="checkbox" name="checkbox79" id="checkbox79" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 17-18 pm </td>
      <td> 
        <input type="checkbox" name="checkbox10" id="checkbox10" /> </td>
      <td> 
        <input type="checkbox" name="checkbox24" id="checkbox24" /> </td>
      <td> 
        <input type="checkbox" name="checkbox38" id="checkbox38" /> </td>
      <td> 
        <input type="checkbox" name="checkbox52" id="checkbox52" /> </td>
      <td> 
        <input type="checkbox" name="checkbox66" id="checkbox66" /> </td>
      <td> 
        <input type="checkbox" name="checkbox80" id="checkbox80" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 18-19 pm </td>
      <td> 
        <input type="checkbox" name="checkbox11" id="checkbox11" /> </td>
      <td> 
        <input type="checkbox" name="checkbox25" id="checkbox25" /> </td>
      <td> 
        <input type="checkbox" name="checkbox39" id="checkbox39" /> </td>
      <td> 
        <input type="checkbox" name="checkbox53" id="checkbox53" /> </td>
      <td> 
        <input type="checkbox" name="checkbox67" id="checkbox67" /> </td>
      <td> 
        <input type="checkbox" name="checkbox81" id="checkbox81" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 19-20 pm </td>
      <td> 
        <input type="checkbox" name="checkbox12" id="checkbox12" /> </td>
      <td> 
        <input type="checkbox" name="checkbox26" id="checkbox26" /> </td>
      <td> 
        <input type="checkbox" name="checkbox40" id="checkbox40" /> </td>
      <td> 
        <input type="checkbox" name="checkbox54" id="checkbox54" /> </td>
      <td> 
        <input type="checkbox" name="checkbox68" id="checkbox68" /> </td>
      <td> 
        <input type="checkbox" name="checkbox82" id="checkbox82" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 20-21 pm </td>
      <td> 
        <input type="checkbox" name="checkbox13" id="checkbox13" /> </td>
      <td> 
        <input type="checkbox" name="checkbox27" id="checkbox27" /> </td>
      <td> 
        <input type="checkbox" name="checkbox41" id="checkbox41" /> </td>
      <td> 
        <input type="checkbox" name="checkbox55" id="checkbox55" /> </td>
      <td> 
        <input type="checkbox" name="checkbox69" id="checkbox69" /> </td>
      <td> 
        <input type="checkbox" name="checkbox83" id="checkbox83" /> </td>
    </tr>
    <tr>
      <td   scope="row"> 21-22 pm </td>
      <td> 
        <input type="checkbox" name="checkbox14" id="checkbox14" /> </td>
      <td> 
        <input type="checkbox" name="checkbox28" id="checkbox28" /> </td>
      <td> 
        <input type="checkbox" name="checkbox42" id="checkbox42" /> </td>
      <td> 
        <input type="checkbox" name="checkbox56" id="checkbox56" /> </td>
      <td> 
        <input type="checkbox" name="checkbox70" id="checkbox70" /> </td>
      <td> 
        <input type="checkbox" name="checkbox84" id="checkbox84" /> </td>
    </tr>
  </table>
 
    
     
          
        
      </div>
      <div class="contentTitle"><h1>CURSOS DE PREFERENCIA</h1></div>
      <div class="contentText">
      
  <table width="600" border="1" align="center" bordercolor="#0099FF">
    <tr>
      <td width="90" scope="col">&nbsp;</td>
      <td width="152"   scope="col"> Facultad </td>
      <td width="168"   scope="col"> Escuela Profesional </td>
      <td width="112"   scope="col"> Nombre del Curso </td>
    </tr>
    <tr>
      <td scope="row">Primer Curso</td>
      <td>
        <select name="select1" id="select1">
          <option selected="selected">Seleccionar</option>
          <option>Fac. Ing. Sistemas</option>
          <option>Facultad A</option>
          <option>Facultad B</option>
        </select>
         
         </td>
      <td> 
        <select name="select4" id="select4">
          <option selected="selected">Seleccionar</option>
          <option>EAP Ing de Software</option>
          <option>EAP Ing de Sistemas</option>
        </select>
         
         </td>
      <td> 
         
        <select name="select7" id="select7">
          <option>Seleccionar</option>
          <option>Curso X</option>
          <option>Curso Y</option>
        </select>
         
           </td>
    </tr>
    <tr>
      <td scope="row">Segundo Curso</td>
      <td> 
        <select name="select2" id="select2">
          <option selected="selected">Seleccionar</option>
          <option>Fac. Ing. Sistemas</option>
          <option>Facultad A</option>
          <option>Facultad B</option>
        </select>
         
           </td>
      <td> 
        <select name="select5" id="select5">
          <option selected="selected">Seleccionar</option>
          <option>EAP Ing. de Software</option>
          <option>EAp Ing. de Sistemas</option>
        </select>
         
         </td>
      <td> 
         
        <select name="select8" id="select8">
          <option>Seleccionar</option>
          <option>Curso X</option>
          <option>Curso Y</option>
        </select>
         
           </td>
    </tr>
    <tr>
      <td scope="row">Tercer Curso</td>
      <td> 
         
        <select name="select3" id="select3">
          <option selected="selected">Seleccionar</option>
          <option>Fac. Ing. Sistemas</option>
          <option>Facultad A</option>
          <option>Facultad B</option>
        </select>
         
           </td>
      <td> 
         
        <select name="select6" id="select6">
          <option selected="selected">Seleccionar</option>
          <option>EAP Ing. de Software</option>
          <option>EAP Ing. de Sistemas</option>
        </select>
         
         </td>
      <td> 
         
        <select name="select9" id="select9">
          <option>Seleccionar</option>
          <option>Curso X</option>
          <option>Curso Y</option>
        </select>
         
           </td>
    </tr>
    <tr>
    	<td colspan="4">    <input type="submit" name="button" id="button" value="Enviar Información" />
        </td>
    </tr>
  </table>
   
    <p>&nbsp;</p>
      </div>
       </form>
		
<script type="text/javascript">
<!--
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2");
var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3");
var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4");
var spryselect5 = new Spry.Widget.ValidationSelect("spryselect5");
var spryselect6 = new Spry.Widget.ValidationSelect("spryselect6");
var spryselect7 = new Spry.Widget.ValidationSelect("spryselect7");
var spryselect8 = new Spry.Widget.ValidationSelect("spryselect8");
var spryselect9 = new Spry.Widget.ValidationSelect("spryselect9");
//-->
</script>  
</div>
        <div id="footer"><a href="http://www.unmsm.edu.pe">Copyright</a> | <a href="http://www.unmsm.edu.pe">Universidad Nacional Mayor de San Marcos</a> |Ing. Software</a> | </div>
</body>
</html>
